<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/cltrpbase.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">cltrpbase.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d7/d8e/cltrpbase_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="preprocessor">#ifndef   __CLTRPBASE_H__</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">#define   __CLTRPBASE_H__</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#include &lt;mysql/mysql.h&gt;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#include &quot;<a class="code" href="../../d2/da3/trp__crm__db__base_8h.html">trp_crm_db_base.h</a>&quot;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#include &quot;<a class="code" href="../../d3/df7/ary__str_8hpp.html">ary_str.hpp</a>&quot;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="preprocessor">#include &quot;<a class="code" href="../../da/d1d/buffer_8hpp.html">buffer.hpp</a>&quot;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="foldopen" id="foldopen00034" data-start="{" data-end="};">
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="../../d6/d51/class_c_my_s_q_l_tuple.html">   34</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d6/d51/class_c_my_s_q_l_tuple.html">CMySQLTuple</a> : <span class="keyword">public</span> <a class="code hl_class" href="../../dc/dc9/class_c_d_b_tuple.html">CDBTuple</a></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>{</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>    std::vector&lt; std::string &gt;  row_data;   <span class="comment">// 对于非BLOB类型的数据可以使用字符串数组的方式</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>                                            <span class="comment">// 保存,但是对  于blob类型的数据则不能够使用这个方</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>                                            <span class="comment">// 式保存</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>    <span class="keywordtype">bool</span> m_has_blob;                        <span class="comment">// 是否存在blob类型的数据</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>    std::map&lt; int , BufferByte &gt;  m_blob_data;  <span class="comment">// BLOB类型的数据</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="../../d6/d51/class_c_my_s_q_l_tuple.html#a74e70c1dffa21bd35feace55beec5b5f">   43</a></span>    <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#a74e70c1dffa21bd35feace55beec5b5f">CMySQLTuple</a>():m_has_blob( false ) {}</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>    <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#a74e70c1dffa21bd35feace55beec5b5f">CMySQLTuple</a>( MYSQL_ROW rows , <span class="keywordtype">int</span> count , <span class="keywordtype">int</span> blobIndex[] , <span class="keywordtype">int</span> lenArray[] , <span class="keywordtype">int</span> blobCount );</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>    <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#a74e70c1dffa21bd35feace55beec5b5f">CMySQLTuple</a>(MYSQL_ROW row, <span class="keywordtype">int</span> num_rows );</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>    <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#a74e70c1dffa21bd35feace55beec5b5f">CMySQLTuple</a>( <span class="keyword">const</span> <a class="code hl_class" href="../../d6/d51/class_c_my_s_q_l_tuple.html">CMySQLTuple</a>&amp; b );</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>    <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#a74e70c1dffa21bd35feace55beec5b5f">CMySQLTuple</a>( <a class="code hl_class" href="../../d6/d51/class_c_my_s_q_l_tuple.html">CMySQLTuple</a>&amp;&amp; b );</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>    <span class="keyword">virtual</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#ab49f2dc5600617cd7918cc13138de690">~CMySQLTuple</a>();</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>    <a class="code hl_class" href="../../d6/d51/class_c_my_s_q_l_tuple.html">CMySQLTuple</a>&amp; <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#af28f32a35f088f2b31478f4e39c14dca">operator=</a>( <span class="keyword">const</span> <a class="code hl_class" href="../../d6/d51/class_c_my_s_q_l_tuple.html">CMySQLTuple</a>&amp; b );</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>    <a class="code hl_class" href="../../d6/d51/class_c_my_s_q_l_tuple.html">CMySQLTuple</a>&amp; <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#af28f32a35f088f2b31478f4e39c14dca">operator=</a>( <a class="code hl_class" href="../../d6/d51/class_c_my_s_q_l_tuple.html">CMySQLTuple</a>&amp;&amp; b );</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aad908057855b84c53f8f4d84835a38f5">SetRow</a>(MYSQL_ROW row, <span class="keywordtype">int</span> cols );</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="../../d6/d51/class_c_my_s_q_l_tuple.html#ad9d0da9dd6989050165822c48c86bd3e">   63</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#ad9d0da9dd6989050165822c48c86bd3e">SetRow</a>( MYSQL_ROW row , <span class="keywordtype">int</span> cols , <span class="keywordtype">int</span> blobIndex[] , <span class="keywordtype">int</span> blobCount );</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aad908057855b84c53f8f4d84835a38f5">SetRow</a>( MYSQL_ROW row , <span class="keywordtype">int</span> cols , <span class="keywordtype">int</span> blobIndex[] , <span class="keywordtype">int</span> lenArray[] ,<span class="keywordtype">int</span> blobCount );</div>
<div class="foldopen" id="foldopen00065" data-start="{" data-end="}">
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aa1984c60fdae74f541d63905738e2534">   65</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aa1984c60fdae74f541d63905738e2534">GetRow</a>( <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; row)</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>    {</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>        <span class="keywordflow">for</span>( <span class="keyword">auto</span> d : row_data ){</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>            row.push_back( d );</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>        }</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>    }</div>
</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">bool</span>&amp; value) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, uint8_t&amp; value ) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, uint16_t&amp; value ) <span class="keyword">override</span> ;</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">int</span>&amp; value ) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>&amp; value) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">long</span>&amp; value ) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>&amp; value ) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">float</span>&amp; value) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">double</span>&amp; value ) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, std::string&amp; value ) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">long</span> <span class="keywordtype">long</span>&amp; value );</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, uint64_t&amp; value );</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">void</span> *buffer , <span class="keywordtype">size_t</span> len ) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>};</div>
</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span> </div>
<div class="foldopen" id="foldopen00093" data-start="{" data-end="};">
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html">   93</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d0/d38/class_c_my_s_q_l_field.html">CMySQLField</a> : <span class="keyword">public</span> <a class="code hl_class" href="../../d6/d91/class_c_d_b_field.html">CDBField</a></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span>{</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>    std::string         field_name;</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>    std::string         field_org_name;</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span>    std::string         table_name;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>    std::string         table_org_name;</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>    std::string         db_name;</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>    std::string         db_org_name;</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>       field_width;</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>       max_length;</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>       flags;</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>       num_decimals;</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>       charset_num;</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>    enum_field_types    type;</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>    <span class="keywordtype">bool</span>                m_has_blob;</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>    std::map&lt; int , Buffer&lt; char &gt; &gt;   m_blob_data;</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span>    <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a57c0f155055bb9e6ab158ac47072e6ec">CMySQLField</a>( MYSQL_FIELD&amp; p_result);</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>    <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a57c0f155055bb9e6ab158ac47072e6ec">CMySQLField</a>( <span class="keyword">const</span> <a class="code hl_class" href="../../d0/d38/class_c_my_s_q_l_field.html">CMySQLField</a>&amp; b );</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>    <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a57c0f155055bb9e6ab158ac47072e6ec">CMySQLField</a>( <a class="code hl_class" href="../../d0/d38/class_c_my_s_q_l_field.html">CMySQLField</a>&amp;&amp; b );</div>
<div class="foldopen" id="foldopen00116" data-start="{" data-end="}">
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a57c0f155055bb9e6ab158ac47072e6ec">  116</a></span>    <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a57c0f155055bb9e6ab158ac47072e6ec">CMySQLField</a>() :</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>        field_width(0),</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>        max_length(0),</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>        flags(0),</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>        num_decimals(0),</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>        charset_num(0),</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>        type(MYSQL_TYPE_DECIMAL),</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>        m_has_blob(false) {}</div>
</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#acbccace62670cf093ba3856bcc0aa638">  124</a></span>    <span class="keyword">virtual</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#acbccace62670cf093ba3856bcc0aa638">~CMySQLField</a>(){}</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span> </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span>    <a class="code hl_class" href="../../d0/d38/class_c_my_s_q_l_field.html">CMySQLField</a>&amp; <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#afbeee2b23f0cb4ccd2cd6cad47e95da9">operator=</a>( <span class="keyword">const</span> <a class="code hl_class" href="../../d0/d38/class_c_my_s_q_l_field.html">CMySQLField</a>&amp; b );</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a26cb8663432795db4260a10c9c7471be">  128</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a26cb8663432795db4260a10c9c7471be">SetFieldName</a>( <span class="keywordtype">char</span> *name )<span class="keyword">override</span>{ field_name = name; }</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#af256f72168f22a6ec0ce31a980c66033">  129</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#af256f72168f22a6ec0ce31a980c66033">SetFieldOrgName</a>( <span class="keywordtype">char</span> *name )<span class="keyword">override</span>{ field_name = name; }</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#ace5860e0a0bdc0aba7c115db90503194">  130</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#ace5860e0a0bdc0aba7c115db90503194">SetTableName</a>( <span class="keywordtype">char</span>* name )<span class="keyword">override</span>{ table_name = name; }</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a75b4cfa1c0eb3e07f8d12e4423ff5471">  131</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a75b4cfa1c0eb3e07f8d12e4423ff5471">SetTableOrgName</a>( <span class="keywordtype">char</span>* name )<span class="keyword">override</span>{ table_org_name = name; }</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a6ff28a7c21a56b27bf954a4880634aaa">  132</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a6ff28a7c21a56b27bf954a4880634aaa">SetDbName</a>(<span class="keywordtype">char</span> * name )<span class="keyword">override</span>{ db_name = name; }</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#ad6c26f61218dc844a3ab3d556ffc21b6">  133</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#ad6c26f61218dc844a3ab3d556ffc21b6">SetDbOrgName</a>( <span class="keywordtype">char</span> * name )<span class="keyword">override</span>{ db_org_name = name; }</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a039d3f036c7aef1f505607eced3c7b66">  134</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a039d3f036c7aef1f505607eced3c7b66">SetFieldType</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> __type__ )<span class="keyword">override</span>{ type = (enum_field_types)__type__; }</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a7ebe530534b5d1ede6e99f143aa27ae5">  135</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a7ebe530534b5d1ede6e99f143aa27ae5">SetFlags</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> type )<span class="keyword">override</span>{ flags = type; }</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span> </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a85ea1e70f3332646f2a1afc662d0ae3f">  137</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a85ea1e70f3332646f2a1afc662d0ae3f">GetFieldName</a>()<span class="keyword"> override</span>{ <span class="keywordflow">return</span> field_name; }</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a9db45c6838106db2b55eca1e2ffed136">  138</a></span>    std::string&amp; <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a9db45c6838106db2b55eca1e2ffed136">GetFieldOrgName</a>()<span class="keyword">override</span>{ <span class="keywordflow">return</span> field_org_name; }</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a2c5b2af74d0be9265b229aafb6ddc53d">  139</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a2c5b2af74d0be9265b229aafb6ddc53d">GetDbName</a>()<span class="keyword">override</span>{ <span class="keywordflow">return</span> db_name; }</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a7a0039928ce4c72f3d02005ab2347fde">  140</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a7a0039928ce4c72f3d02005ab2347fde">GetDbOrgName</a>()<span class="keyword">override</span>{ <span class="keywordflow">return</span> db_org_name; }</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a6aa119b84fe0ef8e95db0e95dd0b1b76">  141</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a6aa119b84fe0ef8e95db0e95dd0b1b76">GetTableName</a>()<span class="keyword">override</span>{ <span class="keywordflow">return</span> table_name; }</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a069633d5da1508e779845282cce3bacb">  142</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a069633d5da1508e779845282cce3bacb">GetTableOrgName</a>()<span class="keyword">override</span>{ <span class="keywordflow">return</span> table_org_name; }</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a4a59f77fcaf99d4d7fdc14b023186aaa">  143</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a4a59f77fcaf99d4d7fdc14b023186aaa">GetFieldType</a>()<span class="keyword">override</span>{ <span class="keywordflow">return</span> type; }</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a30133d9ab1686ac4bc7f81d3a3da5778">  144</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a30133d9ab1686ac4bc7f81d3a3da5778">GetFlags</a>()<span class="keyword">override</span>{ <span class="keywordflow">return</span> flags; }</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span> </div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#a4bcf40fe073b352cf1a9052e2522142d">  146</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a4bcf40fe073b352cf1a9052e2522142d">EnableFlags</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> __type__, <span class="keywordtype">bool</span> enable = <span class="keyword">true</span> )<span class="keyword">override</span>{ flags = (enable == <span class="keyword">true</span> ? flags | __type__ : flags ^ __type__);}</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"><a class="line" href="../../d0/d38/class_c_my_s_q_l_field.html#af1d18bcc1b2f245711d7a8d86c10ac20">  147</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#af1d18bcc1b2f245711d7a8d86c10ac20">DisableFlags</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> __type__ )<span class="keyword">override</span>{ <a class="code hl_function" href="../../d0/d38/class_c_my_s_q_l_field.html#a4bcf40fe073b352cf1a9052e2522142d">EnableFlags</a>( __type__, <span class="keyword">false</span> ); }</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span>};</div>
</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="../../d7/d8e/cltrpbase_8h.html#a1f03dd6eb3368d98417ec3825c2a3b93">  152</a></span><span class="keyword">typedef</span> std::vector&lt; CMySQLField &gt; <a class="code hl_typedef" href="../../d7/d8e/cltrpbase_8h.html#a1f03dd6eb3368d98417ec3825c2a3b93">ArrayField</a>;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="../../d7/d8e/cltrpbase_8h.html#acc78e514f4df3dd54beb5489d6152429">  153</a></span><span class="keyword">typedef</span> std::vector&lt; CMySQLTuple &gt; <a class="code hl_typedef" href="../../d7/d8e/cltrpbase_8h.html#acc78e514f4df3dd54beb5489d6152429">ArrayRows</a>;</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span><span class="keyword">typedef</span> std::vector&lt; CMySQLTuple &gt; <a class="code hl_typedef" href="../../d7/d8e/cltrpbase_8h.html#acc78e514f4df3dd54beb5489d6152429">ArrayRows</a>;</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="../../d7/d8e/cltrpbase_8h.html#acc31a95fa7da46d26e0cbd16dec2c999">  158</a></span><span class="keyword">typedef</span>  <a class="code hl_typedef" href="../../d7/d8e/cltrpbase_8h.html#a1f03dd6eb3368d98417ec3825c2a3b93">ArrayField</a>  <a class="code hl_typedef" href="../../d7/d8e/cltrpbase_8h.html#acc31a95fa7da46d26e0cbd16dec2c999">ArrayMySQLField</a>;</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span> </div>
<div class="foldopen" id="foldopen00160" data-start="{" data-end="};">
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html">  160</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d5/d5a/class_cltrp_base.html">CltrpBase</a> : <span class="keyword">public</span> <a class="code hl_class" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html">CTRP_CRM_DB</a></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span>{</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span><span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00163" data-start="{" data-end="};">
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40">  163</a></span>    <span class="keyword">enum</span> <a class="code hl_enumeration" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40">emErrCode</a> {</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a29e645a8a74ff035587d225ee795149f">  164</a></span>        <a class="code hl_enumvalue" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a29e645a8a74ff035587d225ee795149f">ERR_ALLOC_MEM</a> = -1000,</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40af46fc5a2964b3d50c32ef0f93e705309">  165</a></span>        <a class="code hl_enumvalue" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40af46fc5a2964b3d50c32ef0f93e705309">DB_QUERY_ERR</a>,</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a0f6c4a083b8afe74979e9cd0bb97510d">  166</a></span>        <a class="code hl_enumvalue" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a0f6c4a083b8afe74979e9cd0bb97510d">DB_RES_OUTOFNUM</a>,</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a9c40ad91d2e48d022b572a7fa86b7996">  167</a></span>        <a class="code hl_enumvalue" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a9c40ad91d2e48d022b572a7fa86b7996">DB_CONN_ERR</a>,</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40af4ac367240d93818d9d1ec899aba13ad">  168</a></span>        <a class="code hl_enumvalue" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40af4ac367240d93818d9d1ec899aba13ad">DB_LIB_INIT_ERR</a>,</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span>        <a class="code hl_enumvalue" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a739e9aaa96fb04c614bc454f21a54913">OK</a> = 0</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a739e9aaa96fb04c614bc454f21a54913">  170</a></span>    };</div>
</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span>    std::string       server_info;</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span>    std::string       client_info;</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>     server_version;</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>     client_version;</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span>    std::string       host_info;</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span>    std::string       staus;</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span>    std::string       server_add;</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span>    <span class="keywordtype">int</span>               port;</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span>    std::string       user_name;</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span>    std::string       db_name;</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span>    std::string       password;</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span>    MYSQL           * p_mysql_connect;</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span>    MYSQL_RES       * p_result;  <span class="comment">//操作返回结果</span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span>    MYSQL_FIELD     * p_fd;</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>    MYSQL_ROW         m_row;</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>    <span class="keywordtype">bool</span>              m_conn_status; <span class="comment">//当前连接状态</span></div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span>    <a class="code hl_typedef" href="../../d7/d8e/cltrpbase_8h.html#acc78e514f4df3dd54beb5489d6152429">ArrayRows</a>         data_rows;</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span>    <a class="code hl_typedef" href="../../d7/d8e/cltrpbase_8h.html#a1f03dd6eb3368d98417ec3825c2a3b93">ArrayField</a>        m_field_info;</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span>    std::string       err_msg;</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span>    <span class="keywordtype">int</span>               err_code;</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span> </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span>    std::string       information;</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span>    <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a870a70f931f1c832f0268b221d4e2790">CltrpBase</a>(<span class="keyword">const</span> std::string&amp; server = <span class="stringliteral">&quot;localhost&quot;</span>,</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span>        <span class="keyword">const</span> std::string&amp; user = <span class="stringliteral">&quot;root&quot;</span>,</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span>        <span class="keyword">const</span> std::string&amp; password = <span class="stringliteral">&quot;admin&quot;</span>,</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span>        <span class="keyword">const</span> std::string&amp; db = <span class="stringliteral">&quot;samp_db&quot;</span>,</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span>        <span class="keywordtype">int</span> port = 3306);</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span>    <span class="keyword">virtual</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#ab576846565a8d580aa8716e43cc4e5dc">~CltrpBase</a>();</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a63033d013d1ab4a1b5ed2b6d0cd51907">CDB_EnumDBS</a>( <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; dbs );</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a017d7bf48c51169536128d5f27ff396f">CDB_EnumTables</a>( <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; tables);</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a017d7bf48c51169536128d5f27ff396f">CDB_EnumTables</a>( <span class="keyword">const</span> std::string&amp; db, <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; tables );</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#a443f1919636e1cefe091e420e1f0bcd5">  237</a></span>    <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a443f1919636e1cefe091e420e1f0bcd5">GetCount</a>(){ <span class="keywordflow">return</span> data_rows.size(); }</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#af274bcd001e59a47d3f9df4f4d9860cc">  240</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#af274bcd001e59a47d3f9df4f4d9860cc">GetRow</a>(<span class="keywordtype">int</span> row, <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; __row);</div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#a6be455f5cfd853233bab4bc3f3fdca1e">  243</a></span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a6be455f5cfd853233bab4bc3f3fdca1e">CDB_GetFieldType</a>( <span class="keywordtype">int</span> col ){ <span class="keywordflow">return</span> m_field_info[ col ].GetFieldType(); }</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#aeda8b65119aee00b023c90bbd463c924">  246</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aeda8b65119aee00b023c90bbd463c924">CDB_GetFieldName</a>( <span class="keywordtype">int</span> col, std::string&amp; name){ name = m_field_info[ col ].GetFieldName();}</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#a15b8e452890e6b5d397bcc9ba5888ba2">  249</a></span>    std::string&amp; <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a15b8e452890e6b5d397bcc9ba5888ba2">CDB_GetFieldName</a>(<span class="keywordtype">int</span> col ){ <span class="keywordflow">return</span> m_field_info[ col ].GetFieldName(); }</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#ab6d52b40eb1bfc79aadfa509cc184570">  252</a></span>    std::string&amp; <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#ab6d52b40eb1bfc79aadfa509cc184570">CDB_GetFieldOrgName</a>( <span class="keywordtype">int</span> col ){ <span class="keywordflow">return</span> m_field_info[ col ].GetFieldOrgName();}</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#ae885dad9b7a708a73f0c5d6be0c02657">  255</a></span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#ae885dad9b7a708a73f0c5d6be0c02657">CDB_GetFieldTye</a>( <span class="keywordtype">int</span> col ){ <span class="keywordflow">return</span> m_field_info[ col ].GetFieldType();}</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#a08c9ba9d42de6a664b8f7f75b74dbfba">  258</a></span>    <a class="code hl_enumeration" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4">errCode</a> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a08c9ba9d42de6a664b8f7f75b74dbfba">CDB_Query</a>(<span class="keyword">const</span> std::string&amp; sql ){ <span class="keywordflow">return</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aba9c85a413022f01d2a965e3335db5d3">MySQL_Query</a>(sql);}</div>
<div class="foldopen" id="foldopen00261" data-start="{" data-end="}">
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#a235b73070481e43c1986ef210ea8c9b8">  261</a></span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a235b73070481e43c1986ef210ea8c9b8">CDB_Connect</a>(<span class="keyword">const</span> std::string&amp; ,<span class="comment">//add,</span></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span>            <span class="keywordtype">int</span> ,<span class="comment">//port,</span></div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span>            <span class="keyword">const</span> std::string&amp;,<span class="comment">// user,</span></div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span>            <span class="keyword">const</span> std::string&amp;,<span class="comment">// password,</span></div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span>            <span class="keyword">const</span> std::string&amp; <span class="comment">/*db*/</span>) {<span class="keywordflow">return</span> 0;}</div>
</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno">  268</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a7b5b027828fa3e35ac008ef9433bbbc2">CDB_Disconnect</a>();</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a99bc1dae72adbbe961ad0f3ea6cb5758">CDB_NumCols</a>();</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span>    <span class="keywordtype">int</span>  <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a46df5df1a4be31c97c4ffaa052de482f">CDB_NumRows</a>() ;</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a95f7d93e0419df27ffae38a48332f02f">CDB_ChangePass</a>(<span class="keyword">const</span> std::string&amp; old, <span class="keyword">const</span> std::string&amp; _new );</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#a70383d23d97d7d0808b2cb8673cdd9d7">  280</a></span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a70383d23d97d7d0808b2cb8673cdd9d7">CDB_SetCharSet</a>(<span class="keyword">const</span> std::string&amp; char_set){ <span class="keywordflow">return</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a987d1c4ddc2388c53fde77e43e7eb533">MySQL_set_char_code</a>(char_set);}</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno">  283</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a0a65cd7e3e94a96f25efc117d578f8b4">CDB_EnumColName</a>(<span class="keyword">const</span> std::string&amp; table, <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; col_names );</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno">  286</span>    <span class="keywordtype">int</span>  <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a87af2c8bd42484b02841f9564a33c2c7">CDB_GetRow</a>(<span class="keywordtype">int</span> pos, <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; row);</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#ad59c7d19ce38922d3ad42775dd7183fd">  289</a></span>    std::string&amp;  <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#ad59c7d19ce38922d3ad42775dd7183fd">CDB_GetErrMsg</a>(){ <span class="keywordflow">return</span> err_msg; }</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#a788d468e9513c1d02dee8ef595162e26">  292</a></span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>  <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a788d468e9513c1d02dee8ef595162e26">CDB_Last_Insert_ID</a>() { <span class="keywordflow">return</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#ac2b509e5672da7296837f6601d3ba185">MySQLLastInserId</a>();}</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#aadc1c1c43d29dd7b78db8f6d9ef5b64d">  295</a></span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>  <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aadc1c1c43d29dd7b78db8f6d9ef5b64d">CDB_Last_Insert_ID</a>(<span class="keyword">const</span> std::string&amp;) { <span class="keywordflow">return</span> 0;}</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span>    <span class="comment">//服务器管理类函数</span></div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno">  299</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a92f0f8fc8dece966481046f0375c8c99">CDB_GetServerInfo</a>(std::string&amp; info);</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#ab491de0540765f1b5ce335328f0332a9">CDB_GetClientInfo</a>(std::string&amp; infor) ;</div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#a21622ee9101f69475944f358e4fd2c2f">  305</a></span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a21622ee9101f69475944f358e4fd2c2f">CDB_GetServerType</a>(){ <span class="keywordflow">return</span> 0; }</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno">  307</span> </div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno">  309</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a8543e5ca9258bef34c619bac8c8a9439">CDB_ProcessList</a>();</div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno">  312</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a7994ffe6cd42cbc8ab14fdb6fb090a50">CDB_Kill</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> pid);</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno">  315</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a882ab3b26ecbf664b1e3cca3f1572a3f">CDB_NumQuerys</a>() ;</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno">  318</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aff554bf452e995eeb7b8952432da11d9">CDB_NetLoad</a>() ;</div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#a12d3c36c12bd8433837e83c4f219b5ad">  321</a></span>    std::string <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a12d3c36c12bd8433837e83c4f219b5ad">CDB_GetDBName</a>() { <span class="keywordflow">return</span> db_name; }</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno">  324</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, uint8_t&amp; value);</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno">  325</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, uint16_t&amp; value);</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno">  326</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>&amp; value);</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno">  327</span> </div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno">  328</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>&amp; value );</div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno">  329</span> </div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno">  330</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">int</span>&amp; value) ;</div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno">  331</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">long</span>&amp; value) ;</div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno">  332</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">bool</span>&amp; value) ;</div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno">  333</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">double</span>&amp; value);</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno">  334</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>( <span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col,std::string&amp; value);</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno">  335</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>( <span class="keywordtype">int</span> row , <span class="keywordtype">int</span> col, <span class="keywordtype">long</span> <span class="keywordtype">long</span>&amp; value );</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno">  336</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>( <span class="keywordtype">int</span> row , <span class="keywordtype">int</span> col, uint64_t&amp; value );</div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno">  338</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">void</span> *buffer);</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno">  341</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a519ed9fe32e3efc366ad6afc718abd64">CDB_AutoCommit</a>( <span class="keywordtype">bool</span> flag );</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno">  344</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#afed4ced896d1e46fab2371b1681346f0">CDB_Commit</a>();</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#a200dc0f4c8b34858d4dd2b356081b9d0">  347</a></span>    <span class="keyword">inline</span> <span class="keywordtype">bool</span>  <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a200dc0f4c8b34858d4dd2b356081b9d0">is_connect</a>(){<span class="keywordflow">return</span> m_conn_status;}</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno">  350</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a7597cff32be63d526f6a6019c2352644">MySQL_CreatUser</a>( <span class="keyword">const</span> std::string&amp; username);</div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno">  353</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aaa0b2680596feb42a8a6e3875be37dc5">Del_User</a>(std::string&amp; user);</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno">  361</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aa5c23c21e498b0698698c56bd268bbeb">MySQL_SetPassword</a>(<span class="keyword">const</span> std::string&amp; user, <span class="keyword">const</span> std::string&amp; p);</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno">  364</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a6996f88f490d9ee6ed71ff4e5bd4c0cb">Is_ResultOK</a>();</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a313f10e53e19686e0c2a0c32dc57a6fe">FreeResult</a>();</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span>    MYSQL_ROW <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a30fdfa68a48341c949e3a2e934bec2b7">MySQL_Fetch_Row</a>();</div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno">  373</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>*  <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a111aaae1e2cd4ee18dcd7b660d959e6f">MySQL_fetch_length</a>();</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno">  376</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>  <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a60fb71d7c22a7971401366d2160dead3">MySQL_num_rows</a>();</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno">  379</span>    MYSQL_FIELD* <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aca3a5172dfab80b60093f58e2d3c8bfc">MySQL_fetch_fields</a>();</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno">  382</span>    MYSQL_FIELD* <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a65f4eeb246bfd0ad459dd025b3fce95e">MySQL_fetch_field</a>();</div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno">  385</span>    std::string <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#ad105eee95bbc3d18ca38317d88e7ac76">MySQL_get_field_name</a>();</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno">  388</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#acdb04b7f1e2465953f5f24c2ae1d9844">MySQL_get_col_num</a>();</div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"><a class="line" href="../../d5/d5a/class_cltrp_base.html#ab06396ce44033ecd799d960fc175bc48">  391</a></span>    <span class="keywordtype">void</span>  <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#ab06396ce44033ecd799d960fc175bc48">MySQL_row_seek</a>(my_ulonglong offset);</div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno">  394</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a76b5c061a9602a87082f35e63510e6ad">MySQL_select_db</a>(std::string&amp; str);</div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno">  397</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#af3d577f1f76dd5b9b90159fd90e42a69">MySQL_use_table</a>(std::string&amp; str);</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno">  400</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#af2e30b60b81416e15ba886949c023db0">MySQL_error_message</a>(std::string&amp; error);</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno">  403</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a987d1c4ddc2388c53fde77e43e7eb533">MySQL_set_char_code</a>(<span class="keyword">const</span> std::string&amp; str);</div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno">  406</span>    <a class="code hl_enumeration" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4">errCode</a> <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#aba9c85a413022f01d2a965e3335db5d3">MySQL_Query</a>(<span class="keyword">const</span> std::string&amp; sql_com);</div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno">  409</span>    my_ulonglong <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#ac2b509e5672da7296837f6601d3ba185">MySQLLastInserId</a>();</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno">  414</span>    <span class="keywordtype">bool</span>  <a class="code hl_function" href="../../d5/d5a/class_cltrp_base.html#a545022315947c925e5f9b3b4ac3e1ee2">CDB_Ping</a>();</div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno">  415</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno">  418</span>    <span class="keywordtype">void</span> do_connect();</div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span> </div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno">  423</span>    <span class="keywordtype">void</span> init_connect_info();</div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno">  424</span>};</div>
</div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno">  425</span> </div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno">  426</span><span class="preprocessor">#endif </span><span class="comment">// CLTRPBASE_H</span></div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno">  427</span> </div>
<div class="ttc" id="aary__str_8hpp_html"><div class="ttname"><a href="../../d3/df7/ary__str_8hpp.html">ary_str.hpp</a></div></div>
<div class="ttc" id="abuffer_8hpp_html"><div class="ttname"><a href="../../da/d1d/buffer_8hpp.html">buffer.hpp</a></div></div>
<div class="ttc" id="aclass_c_d_b_field_html"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html">CDBField</a></div><div class="ttdef"><b>定义</b> <a href="../../d2/da3/trp__crm__db__base_8h_source.html#l00044">trp_crm_db_base.h:45</a></div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html">CDBTuple</a></div><div class="ttdef"><b>定义</b> <a href="../../d2/da3/trp__crm__db__base_8h_source.html#l00025">trp_crm_db_base.h:26</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html">CMySQLField</a></div><div class="ttdef"><b>定义</b> <a href="#l00093">cltrpbase.h:94</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a039d3f036c7aef1f505607eced3c7b66"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a039d3f036c7aef1f505607eced3c7b66">CMySQLField::SetFieldType</a></div><div class="ttdeci">void SetFieldType(unsigned long __type__) override</div><div class="ttdef"><b>定义</b> <a href="#l00134">cltrpbase.h:134</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a069633d5da1508e779845282cce3bacb"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a069633d5da1508e779845282cce3bacb">CMySQLField::GetTableOrgName</a></div><div class="ttdeci">virtual std::string &amp; GetTableOrgName() override</div><div class="ttdef"><b>定义</b> <a href="#l00142">cltrpbase.h:142</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a26cb8663432795db4260a10c9c7471be"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a26cb8663432795db4260a10c9c7471be">CMySQLField::SetFieldName</a></div><div class="ttdeci">void SetFieldName(char *name) override</div><div class="ttdoc">由于MySQL接口取到的数据类型是c结构字符串类型,所有在所有的设置文本类型的数据时都使用了char*类型</div><div class="ttdef"><b>定义</b> <a href="#l00128">cltrpbase.h:128</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a2c5b2af74d0be9265b229aafb6ddc53d"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a2c5b2af74d0be9265b229aafb6ddc53d">CMySQLField::GetDbName</a></div><div class="ttdeci">virtual std::string &amp; GetDbName() override</div><div class="ttdef"><b>定义</b> <a href="#l00139">cltrpbase.h:139</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a30133d9ab1686ac4bc7f81d3a3da5778"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a30133d9ab1686ac4bc7f81d3a3da5778">CMySQLField::GetFlags</a></div><div class="ttdeci">virtual unsigned long GetFlags() override</div><div class="ttdef"><b>定义</b> <a href="#l00144">cltrpbase.h:144</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a4a59f77fcaf99d4d7fdc14b023186aaa"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a4a59f77fcaf99d4d7fdc14b023186aaa">CMySQLField::GetFieldType</a></div><div class="ttdeci">virtual unsigned long GetFieldType() override</div><div class="ttdef"><b>定义</b> <a href="#l00143">cltrpbase.h:143</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a4bcf40fe073b352cf1a9052e2522142d"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a4bcf40fe073b352cf1a9052e2522142d">CMySQLField::EnableFlags</a></div><div class="ttdeci">void EnableFlags(unsigned long __type__, bool enable=true) override</div><div class="ttdef"><b>定义</b> <a href="#l00146">cltrpbase.h:146</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a57c0f155055bb9e6ab158ac47072e6ec"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a57c0f155055bb9e6ab158ac47072e6ec">CMySQLField::CMySQLField</a></div><div class="ttdeci">CMySQLField()</div><div class="ttdef"><b>定义</b> <a href="#l00116">cltrpbase.h:116</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a6aa119b84fe0ef8e95db0e95dd0b1b76"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a6aa119b84fe0ef8e95db0e95dd0b1b76">CMySQLField::GetTableName</a></div><div class="ttdeci">virtual std::string &amp; GetTableName() override</div><div class="ttdef"><b>定义</b> <a href="#l00141">cltrpbase.h:141</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a6ff28a7c21a56b27bf954a4880634aaa"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a6ff28a7c21a56b27bf954a4880634aaa">CMySQLField::SetDbName</a></div><div class="ttdeci">void SetDbName(char *name) override</div><div class="ttdef"><b>定义</b> <a href="#l00132">cltrpbase.h:132</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a75b4cfa1c0eb3e07f8d12e4423ff5471"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a75b4cfa1c0eb3e07f8d12e4423ff5471">CMySQLField::SetTableOrgName</a></div><div class="ttdeci">void SetTableOrgName(char *name) override</div><div class="ttdef"><b>定义</b> <a href="#l00131">cltrpbase.h:131</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a7a0039928ce4c72f3d02005ab2347fde"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a7a0039928ce4c72f3d02005ab2347fde">CMySQLField::GetDbOrgName</a></div><div class="ttdeci">virtual std::string &amp; GetDbOrgName() override</div><div class="ttdef"><b>定义</b> <a href="#l00140">cltrpbase.h:140</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a7ebe530534b5d1ede6e99f143aa27ae5"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a7ebe530534b5d1ede6e99f143aa27ae5">CMySQLField::SetFlags</a></div><div class="ttdeci">void SetFlags(unsigned long type) override</div><div class="ttdef"><b>定义</b> <a href="#l00135">cltrpbase.h:135</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a85ea1e70f3332646f2a1afc662d0ae3f"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a85ea1e70f3332646f2a1afc662d0ae3f">CMySQLField::GetFieldName</a></div><div class="ttdeci">virtual std::string &amp; GetFieldName() override</div><div class="ttdef"><b>定义</b> <a href="#l00137">cltrpbase.h:137</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_a9db45c6838106db2b55eca1e2ffed136"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#a9db45c6838106db2b55eca1e2ffed136">CMySQLField::GetFieldOrgName</a></div><div class="ttdeci">std::string &amp; GetFieldOrgName() override</div><div class="ttdef"><b>定义</b> <a href="#l00138">cltrpbase.h:138</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_acbccace62670cf093ba3856bcc0aa638"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#acbccace62670cf093ba3856bcc0aa638">CMySQLField::~CMySQLField</a></div><div class="ttdeci">virtual ~CMySQLField()</div><div class="ttdef"><b>定义</b> <a href="#l00124">cltrpbase.h:124</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_ace5860e0a0bdc0aba7c115db90503194"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#ace5860e0a0bdc0aba7c115db90503194">CMySQLField::SetTableName</a></div><div class="ttdeci">void SetTableName(char *name) override</div><div class="ttdef"><b>定义</b> <a href="#l00130">cltrpbase.h:130</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_ad6c26f61218dc844a3ab3d556ffc21b6"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#ad6c26f61218dc844a3ab3d556ffc21b6">CMySQLField::SetDbOrgName</a></div><div class="ttdeci">void SetDbOrgName(char *name) override</div><div class="ttdef"><b>定义</b> <a href="#l00133">cltrpbase.h:133</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_af1d18bcc1b2f245711d7a8d86c10ac20"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#af1d18bcc1b2f245711d7a8d86c10ac20">CMySQLField::DisableFlags</a></div><div class="ttdeci">void DisableFlags(unsigned long __type__) override</div><div class="ttdoc">指定或者取消属性</div><div class="ttdef"><b>定义</b> <a href="#l00147">cltrpbase.h:147</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_af256f72168f22a6ec0ce31a980c66033"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#af256f72168f22a6ec0ce31a980c66033">CMySQLField::SetFieldOrgName</a></div><div class="ttdeci">void SetFieldOrgName(char *name) override</div><div class="ttdef"><b>定义</b> <a href="#l00129">cltrpbase.h:129</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_field_html_afbeee2b23f0cb4ccd2cd6cad47e95da9"><div class="ttname"><a href="../../d0/d38/class_c_my_s_q_l_field.html#afbeee2b23f0cb4ccd2cd6cad47e95da9">CMySQLField::operator=</a></div><div class="ttdeci">CMySQLField &amp; operator=(const CMySQLField &amp;b)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00456">cltrpbase.cpp:456</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_tuple_html"><div class="ttname"><a href="../../d6/d51/class_c_my_s_q_l_tuple.html">CMySQLTuple</a></div><div class="ttdoc">MySQL C++接口封装</div><div class="ttdef"><b>定义</b> <a href="#l00034">cltrpbase.h:35</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_tuple_html_a74e70c1dffa21bd35feace55beec5b5f"><div class="ttname"><a href="../../d6/d51/class_c_my_s_q_l_tuple.html#a74e70c1dffa21bd35feace55beec5b5f">CMySQLTuple::CMySQLTuple</a></div><div class="ttdeci">CMySQLTuple()</div><div class="ttdef"><b>定义</b> <a href="#l00043">cltrpbase.h:43</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_tuple_html_aa1984c60fdae74f541d63905738e2534"><div class="ttname"><a href="../../d6/d51/class_c_my_s_q_l_tuple.html#aa1984c60fdae74f541d63905738e2534">CMySQLTuple::GetRow</a></div><div class="ttdeci">void GetRow(ArrayString &amp;row)</div><div class="ttdef"><b>定义</b> <a href="#l00065">cltrpbase.h:65</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_tuple_html_aad908057855b84c53f8f4d84835a38f5"><div class="ttname"><a href="../../d6/d51/class_c_my_s_q_l_tuple.html#aad908057855b84c53f8f4d84835a38f5">CMySQLTuple::SetRow</a></div><div class="ttdeci">void SetRow(MYSQL_ROW row, int cols)</div><div class="ttdoc">指定结果集合</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00094">cltrpbase.cpp:94</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_tuple_html_aae7bc5bb26bc6725275073409ad8d65f"><div class="ttname"><a href="../../d6/d51/class_c_my_s_q_l_tuple.html#aae7bc5bb26bc6725275073409ad8d65f">CMySQLTuple::GetValue</a></div><div class="ttdeci">bool GetValue(int col, bool &amp;value) override</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00125">cltrpbase.cpp:125</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_tuple_html_ab49f2dc5600617cd7918cc13138de690"><div class="ttname"><a href="../../d6/d51/class_c_my_s_q_l_tuple.html#ab49f2dc5600617cd7918cc13138de690">CMySQLTuple::~CMySQLTuple</a></div><div class="ttdeci">virtual ~CMySQLTuple()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00071">cltrpbase.cpp:71</a></div></div>
<div class="ttc" id="aclass_c_my_s_q_l_tuple_html_ad9d0da9dd6989050165822c48c86bd3e"><div class="ttname"><a href="../../d6/d51/class_c_my_s_q_l_tuple.html#ad9d0da9dd6989050165822c48c86bd3e">CMySQLTuple::SetRow</a></div><div class="ttdeci">void SetRow(MYSQL_ROW row, int cols, int blobIndex[], int blobCount)</div></div>
<div class="ttc" id="aclass_c_my_s_q_l_tuple_html_af28f32a35f088f2b31478f4e39c14dca"><div class="ttname"><a href="../../d6/d51/class_c_my_s_q_l_tuple.html#af28f32a35f088f2b31478f4e39c14dca">CMySQLTuple::operator=</a></div><div class="ttdeci">CMySQLTuple &amp; operator=(const CMySQLTuple &amp;b)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00076">cltrpbase.cpp:76</a></div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html">CTRP_CRM_DB</a></div><div class="ttdef"><b>定义</b> <a href="../../d2/da3/trp__crm__db__base_8h_source.html#l00069">trp_crm_db_base.h:70</a></div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ab8b5205062162c81c35d2a2b730ef1e4"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4">CTRP_CRM_DB::errCode</a></div><div class="ttdeci">errCode</div><div class="ttdoc">错误代码定义</div><div class="ttdef"><b>定义</b> <a href="../../d2/da3/trp__crm__db__base_8h_source.html#l00073">trp_crm_db_base.h:73</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html">CltrpBase</a></div><div class="ttdef"><b>定义</b> <a href="#l00160">cltrpbase.h:161</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a017d7bf48c51169536128d5f27ff396f"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a017d7bf48c51169536128d5f27ff396f">CltrpBase::CDB_EnumTables</a></div><div class="ttdeci">virtual int CDB_EnumTables(ArrayString &amp;tables)</div><div class="ttdoc">枚举当前数据库数据表</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l01107">cltrpbase.cpp:1107</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a08c9ba9d42de6a664b8f7f75b74dbfba"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a08c9ba9d42de6a664b8f7f75b74dbfba">CltrpBase::CDB_Query</a></div><div class="ttdeci">errCode CDB_Query(const std::string &amp;sql)</div><div class="ttdef"><b>定义</b> <a href="#l00258">cltrpbase.h:258</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a0a65cd7e3e94a96f25efc117d578f8b4"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a0a65cd7e3e94a96f25efc117d578f8b4">CltrpBase::CDB_EnumColName</a></div><div class="ttdeci">int CDB_EnumColName(const std::string &amp;table, ArrayString &amp;col_names)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00886">cltrpbase.cpp:886</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a111aaae1e2cd4ee18dcd7b660d959e6f"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a111aaae1e2cd4ee18dcd7b660d959e6f">CltrpBase::MySQL_fetch_length</a></div><div class="ttdeci">unsigned long * MySQL_fetch_length()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00633">cltrpbase.cpp:633</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a12d3c36c12bd8433837e83c4f219b5ad"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a12d3c36c12bd8433837e83c4f219b5ad">CltrpBase::CDB_GetDBName</a></div><div class="ttdeci">std::string CDB_GetDBName()</div><div class="ttdef"><b>定义</b> <a href="#l00321">cltrpbase.h:321</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a15b8e452890e6b5d397bcc9ba5888ba2"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a15b8e452890e6b5d397bcc9ba5888ba2">CltrpBase::CDB_GetFieldName</a></div><div class="ttdeci">std::string &amp; CDB_GetFieldName(int col)</div><div class="ttdef"><b>定义</b> <a href="#l00249">cltrpbase.h:249</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a200dc0f4c8b34858d4dd2b356081b9d0"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a200dc0f4c8b34858d4dd2b356081b9d0">CltrpBase::is_connect</a></div><div class="ttdeci">bool is_connect()</div><div class="ttdef"><b>定义</b> <a href="#l00347">cltrpbase.h:347</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a21622ee9101f69475944f358e4fd2c2f"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a21622ee9101f69475944f358e4fd2c2f">CltrpBase::CDB_GetServerType</a></div><div class="ttdeci">int CDB_GetServerType()</div><div class="ttdef"><b>定义</b> <a href="#l00305">cltrpbase.h:305</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a235b73070481e43c1986ef210ea8c9b8"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a235b73070481e43c1986ef210ea8c9b8">CltrpBase::CDB_Connect</a></div><div class="ttdeci">int CDB_Connect(const std::string &amp;, int, const std::string &amp;, const std::string &amp;, const std::string &amp;)</div><div class="ttdef"><b>定义</b> <a href="#l00261">cltrpbase.h:261</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a30fdfa68a48341c949e3a2e934bec2b7"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a30fdfa68a48341c949e3a2e934bec2b7">CltrpBase::MySQL_Fetch_Row</a></div><div class="ttdeci">MYSQL_ROW MySQL_Fetch_Row()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00623">cltrpbase.cpp:623</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a313f10e53e19686e0c2a0c32dc57a6fe"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a313f10e53e19686e0c2a0c32dc57a6fe">CltrpBase::FreeResult</a></div><div class="ttdeci">void FreeResult()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00616">cltrpbase.cpp:616</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a443f1919636e1cefe091e420e1f0bcd5"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a443f1919636e1cefe091e420e1f0bcd5">CltrpBase::GetCount</a></div><div class="ttdeci">int GetCount()</div><div class="ttdef"><b>定义</b> <a href="#l00237">cltrpbase.h:237</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a46df5df1a4be31c97c4ffaa052de482f"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a46df5df1a4be31c97c4ffaa052de482f">CltrpBase::CDB_NumRows</a></div><div class="ttdeci">int CDB_NumRows()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00860">cltrpbase.cpp:860</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a519ed9fe32e3efc366ad6afc718abd64"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a519ed9fe32e3efc366ad6afc718abd64">CltrpBase::CDB_AutoCommit</a></div><div class="ttdeci">void CDB_AutoCommit(bool flag)</div><div class="ttdoc">确定是否需要将sql命令试用自动事务提交方式进行处理。</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l01155">cltrpbase.cpp:1155</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a545022315947c925e5f9b3b4ac3e1ee2"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a545022315947c925e5f9b3b4ac3e1ee2">CltrpBase::CDB_Ping</a></div><div class="ttdeci">bool CDB_Ping()</div><div class="ttdoc">检查服务器是否正常连接。</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l01036">cltrpbase.cpp:1036</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a60fb71d7c22a7971401366d2160dead3"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a60fb71d7c22a7971401366d2160dead3">CltrpBase::MySQL_num_rows</a></div><div class="ttdeci">unsigned long MySQL_num_rows()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00641">cltrpbase.cpp:641</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a63033d013d1ab4a1b5ed2b6d0cd51907"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a63033d013d1ab4a1b5ed2b6d0cd51907">CltrpBase::CDB_EnumDBS</a></div><div class="ttdeci">virtual int CDB_EnumDBS(ArrayString &amp;dbs)</div><div class="ttdoc">枚举数据库</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l01077">cltrpbase.cpp:1077</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a65f4eeb246bfd0ad459dd025b3fce95e"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a65f4eeb246bfd0ad459dd025b3fce95e">CltrpBase::MySQL_fetch_field</a></div><div class="ttdeci">MYSQL_FIELD * MySQL_fetch_field()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00650">cltrpbase.cpp:650</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a6996f88f490d9ee6ed71ff4e5bd4c0cb"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a6996f88f490d9ee6ed71ff4e5bd4c0cb">CltrpBase::Is_ResultOK</a></div><div class="ttdeci">bool Is_ResultOK()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00604">cltrpbase.cpp:604</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a6be455f5cfd853233bab4bc3f3fdca1e"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a6be455f5cfd853233bab4bc3f3fdca1e">CltrpBase::CDB_GetFieldType</a></div><div class="ttdeci">unsigned long CDB_GetFieldType(int col)</div><div class="ttdef"><b>定义</b> <a href="#l00243">cltrpbase.h:243</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a70383d23d97d7d0808b2cb8673cdd9d7"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a70383d23d97d7d0808b2cb8673cdd9d7">CltrpBase::CDB_SetCharSet</a></div><div class="ttdeci">int CDB_SetCharSet(const std::string &amp;char_set)</div><div class="ttdef"><b>定义</b> <a href="#l00280">cltrpbase.h:280</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a7597cff32be63d526f6a6019c2352644"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a7597cff32be63d526f6a6019c2352644">CltrpBase::MySQL_CreatUser</a></div><div class="ttdeci">int MySQL_CreatUser(const std::string &amp;username)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00571">cltrpbase.cpp:571</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a76b5c061a9602a87082f35e63510e6ad"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a76b5c061a9602a87082f35e63510e6ad">CltrpBase::MySQL_select_db</a></div><div class="ttdeci">int MySQL_select_db(std::string &amp;str)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00701">cltrpbase.cpp:701</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a788d468e9513c1d02dee8ef595162e26"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a788d468e9513c1d02dee8ef595162e26">CltrpBase::CDB_Last_Insert_ID</a></div><div class="ttdeci">unsigned long CDB_Last_Insert_ID()</div><div class="ttdef"><b>定义</b> <a href="#l00292">cltrpbase.h:292</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a7994ffe6cd42cbc8ab14fdb6fb090a50"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a7994ffe6cd42cbc8ab14fdb6fb090a50">CltrpBase::CDB_Kill</a></div><div class="ttdeci">bool CDB_Kill(unsigned long pid)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00953">cltrpbase.cpp:953</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a7b5b027828fa3e35ac008ef9433bbbc2"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a7b5b027828fa3e35ac008ef9433bbbc2">CltrpBase::CDB_Disconnect</a></div><div class="ttdeci">int CDB_Disconnect()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00839">cltrpbase.cpp:839</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a8543e5ca9258bef34c619bac8c8a9439"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a8543e5ca9258bef34c619bac8c8a9439">CltrpBase::CDB_ProcessList</a></div><div class="ttdeci">bool CDB_ProcessList()</div><div class="ttdoc">枚举当前的服务器进程，用户通过GetRow函数取用</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00942">cltrpbase.cpp:942</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a870a70f931f1c832f0268b221d4e2790"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a870a70f931f1c832f0268b221d4e2790">CltrpBase::CltrpBase</a></div><div class="ttdeci">CltrpBase(const std::string &amp;server=&quot;localhost&quot;, const std::string &amp;user=&quot;root&quot;, const std::string &amp;password=&quot;admin&quot;, const std::string &amp;db=&quot;samp_db&quot;, int port=3306)</div><div class="ttdoc">初始化服务器连接.自动连接MySQL服务器,同时完成服务器客户端等信息索取和存储.此外为了检查服务器是否保持正常连接 使用计时器定期检查服务器连接情况.</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00531">cltrpbase.cpp:531</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a87af2c8bd42484b02841f9564a33c2c7"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a87af2c8bd42484b02841f9564a33c2c7">CltrpBase::CDB_GetRow</a></div><div class="ttdeci">int CDB_GetRow(int pos, ArrayString &amp;row)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00905">cltrpbase.cpp:905</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a882ab3b26ecbf664b1e3cca3f1572a3f"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a882ab3b26ecbf664b1e3cca3f1572a3f">CltrpBase::CDB_NumQuerys</a></div><div class="ttdeci">unsigned long CDB_NumQuerys()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00961">cltrpbase.cpp:961</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a92f0f8fc8dece966481046f0375c8c99"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a92f0f8fc8dece966481046f0375c8c99">CltrpBase::CDB_GetServerInfo</a></div><div class="ttdeci">bool CDB_GetServerInfo(std::string &amp;info)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00920">cltrpbase.cpp:920</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a95f7d93e0419df27ffae38a48332f02f"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a95f7d93e0419df27ffae38a48332f02f">CltrpBase::CDB_ChangePass</a></div><div class="ttdeci">int CDB_ChangePass(const std::string &amp;old, const std::string &amp;_new)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00871">cltrpbase.cpp:871</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a987d1c4ddc2388c53fde77e43e7eb533"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a987d1c4ddc2388c53fde77e43e7eb533">CltrpBase::MySQL_set_char_code</a></div><div class="ttdeci">int MySQL_set_char_code(const std::string &amp;str)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00739">cltrpbase.cpp:739</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_a99bc1dae72adbbe961ad0f3ea6cb5758"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#a99bc1dae72adbbe961ad0f3ea6cb5758">CltrpBase::CDB_NumCols</a></div><div class="ttdeci">int CDB_NumCols()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00849">cltrpbase.cpp:849</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aa3e8d5dc45b68ef234f561c2a65bf9bd"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aa3e8d5dc45b68ef234f561c2a65bf9bd">CltrpBase::CDB_GetValue</a></div><div class="ttdeci">bool CDB_GetValue(int row, int col, uint8_t &amp;value)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l01027">cltrpbase.cpp:1027</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aa5c23c21e498b0698698c56bd268bbeb"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aa5c23c21e498b0698698c56bd268bbeb">CltrpBase::MySQL_SetPassword</a></div><div class="ttdeci">void MySQL_SetPassword(const std::string &amp;user, const std::string &amp;p)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00759">cltrpbase.cpp:759</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aaa0b2680596feb42a8a6e3875be37dc5"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aaa0b2680596feb42a8a6e3875be37dc5">CltrpBase::Del_User</a></div><div class="ttdeci">int Del_User(std::string &amp;user)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00588">cltrpbase.cpp:588</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aadc1c1c43d29dd7b78db8f6d9ef5b64d"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aadc1c1c43d29dd7b78db8f6d9ef5b64d">CltrpBase::CDB_Last_Insert_ID</a></div><div class="ttdeci">unsigned long CDB_Last_Insert_ID(const std::string &amp;)</div><div class="ttdef"><b>定义</b> <a href="#l00295">cltrpbase.h:295</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_ab06396ce44033ecd799d960fc175bc48"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#ab06396ce44033ecd799d960fc175bc48">CltrpBase::MySQL_row_seek</a></div><div class="ttdeci">void MySQL_row_seek(my_ulonglong offset)</div></div>
<div class="ttc" id="aclass_cltrp_base_html_ab491de0540765f1b5ce335328f0332a9"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#ab491de0540765f1b5ce335328f0332a9">CltrpBase::CDB_GetClientInfo</a></div><div class="ttdeci">bool CDB_GetClientInfo(std::string &amp;infor)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00930">cltrpbase.cpp:930</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_ab576846565a8d580aa8716e43cc4e5dc"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#ab576846565a8d580aa8716e43cc4e5dc">CltrpBase::~CltrpBase</a></div><div class="ttdeci">virtual ~CltrpBase()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00561">cltrpbase.cpp:561</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_ab6d52b40eb1bfc79aadfa509cc184570"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#ab6d52b40eb1bfc79aadfa509cc184570">CltrpBase::CDB_GetFieldOrgName</a></div><div class="ttdeci">std::string &amp; CDB_GetFieldOrgName(int col)</div><div class="ttdef"><b>定义</b> <a href="#l00252">cltrpbase.h:252</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aba9c85a413022f01d2a965e3335db5d3"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aba9c85a413022f01d2a965e3335db5d3">CltrpBase::MySQL_Query</a></div><div class="ttdeci">errCode MySQL_Query(const std::string &amp;sql_com)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00780">cltrpbase.cpp:780</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_ac2b509e5672da7296837f6601d3ba185"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#ac2b509e5672da7296837f6601d3ba185">CltrpBase::MySQLLastInserId</a></div><div class="ttdeci">my_ulonglong MySQLLastInserId()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00834">cltrpbase.cpp:834</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aca3a5172dfab80b60093f58e2d3c8bfc"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aca3a5172dfab80b60093f58e2d3c8bfc">CltrpBase::MySQL_fetch_fields</a></div><div class="ttdeci">MYSQL_FIELD * MySQL_fetch_fields()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00667">cltrpbase.cpp:667</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_acdb04b7f1e2465953f5f24c2ae1d9844"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#acdb04b7f1e2465953f5f24c2ae1d9844">CltrpBase::MySQL_get_col_num</a></div><div class="ttdeci">unsigned int MySQL_get_col_num()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00691">cltrpbase.cpp:691</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_ad105eee95bbc3d18ca38317d88e7ac76"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#ad105eee95bbc3d18ca38317d88e7ac76">CltrpBase::MySQL_get_field_name</a></div><div class="ttdeci">std::string MySQL_get_field_name()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00680">cltrpbase.cpp:680</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_ad59c7d19ce38922d3ad42775dd7183fd"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#ad59c7d19ce38922d3ad42775dd7183fd">CltrpBase::CDB_GetErrMsg</a></div><div class="ttdeci">std::string &amp; CDB_GetErrMsg()</div><div class="ttdef"><b>定义</b> <a href="#l00289">cltrpbase.h:289</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_ae885dad9b7a708a73f0c5d6be0c02657"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#ae885dad9b7a708a73f0c5d6be0c02657">CltrpBase::CDB_GetFieldTye</a></div><div class="ttdeci">unsigned long CDB_GetFieldTye(int col)</div><div class="ttdef"><b>定义</b> <a href="#l00255">cltrpbase.h:255</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aeda8b65119aee00b023c90bbd463c924"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aeda8b65119aee00b023c90bbd463c924">CltrpBase::CDB_GetFieldName</a></div><div class="ttdeci">void CDB_GetFieldName(int col, std::string &amp;name)</div><div class="ttdef"><b>定义</b> <a href="#l00246">cltrpbase.h:246</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aef90030ed990db78c0f4f5a942471e40"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40">CltrpBase::emErrCode</a></div><div class="ttdeci">emErrCode</div><div class="ttdef"><b>定义</b> <a href="#l00163">cltrpbase.h:163</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aef90030ed990db78c0f4f5a942471e40a0f6c4a083b8afe74979e9cd0bb97510d"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a0f6c4a083b8afe74979e9cd0bb97510d">CltrpBase::DB_RES_OUTOFNUM</a></div><div class="ttdeci">@ DB_RES_OUTOFNUM</div><div class="ttdef"><b>定义</b> <a href="#l00166">cltrpbase.h:166</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aef90030ed990db78c0f4f5a942471e40a29e645a8a74ff035587d225ee795149f"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a29e645a8a74ff035587d225ee795149f">CltrpBase::ERR_ALLOC_MEM</a></div><div class="ttdeci">@ ERR_ALLOC_MEM</div><div class="ttdef"><b>定义</b> <a href="#l00164">cltrpbase.h:164</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aef90030ed990db78c0f4f5a942471e40a739e9aaa96fb04c614bc454f21a54913"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a739e9aaa96fb04c614bc454f21a54913">CltrpBase::OK</a></div><div class="ttdeci">@ OK</div><div class="ttdef"><b>定义</b> <a href="#l00170">cltrpbase.h:169</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aef90030ed990db78c0f4f5a942471e40a9c40ad91d2e48d022b572a7fa86b7996"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40a9c40ad91d2e48d022b572a7fa86b7996">CltrpBase::DB_CONN_ERR</a></div><div class="ttdeci">@ DB_CONN_ERR</div><div class="ttdef"><b>定义</b> <a href="#l00167">cltrpbase.h:167</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aef90030ed990db78c0f4f5a942471e40af46fc5a2964b3d50c32ef0f93e705309"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40af46fc5a2964b3d50c32ef0f93e705309">CltrpBase::DB_QUERY_ERR</a></div><div class="ttdeci">@ DB_QUERY_ERR</div><div class="ttdef"><b>定义</b> <a href="#l00165">cltrpbase.h:165</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aef90030ed990db78c0f4f5a942471e40af4ac367240d93818d9d1ec899aba13ad"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aef90030ed990db78c0f4f5a942471e40af4ac367240d93818d9d1ec899aba13ad">CltrpBase::DB_LIB_INIT_ERR</a></div><div class="ttdeci">@ DB_LIB_INIT_ERR</div><div class="ttdef"><b>定义</b> <a href="#l00168">cltrpbase.h:168</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_af274bcd001e59a47d3f9df4f4d9860cc"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#af274bcd001e59a47d3f9df4f4d9860cc">CltrpBase::GetRow</a></div><div class="ttdeci">bool GetRow(int row, ArrayString &amp;__row)</div></div>
<div class="ttc" id="aclass_cltrp_base_html_af2e30b60b81416e15ba886949c023db0"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#af2e30b60b81416e15ba886949c023db0">CltrpBase::MySQL_error_message</a></div><div class="ttdeci">void MySQL_error_message(std::string &amp;error)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00734">cltrpbase.cpp:734</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_af3d577f1f76dd5b9b90159fd90e42a69"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#af3d577f1f76dd5b9b90159fd90e42a69">CltrpBase::MySQL_use_table</a></div><div class="ttdeci">int MySQL_use_table(std::string &amp;str)</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00717">cltrpbase.cpp:717</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_afed4ced896d1e46fab2371b1681346f0"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#afed4ced896d1e46fab2371b1681346f0">CltrpBase::CDB_Commit</a></div><div class="ttdeci">bool CDB_Commit()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l01160">cltrpbase.cpp:1160</a></div></div>
<div class="ttc" id="aclass_cltrp_base_html_aff554bf452e995eeb7b8952432da11d9"><div class="ttname"><a href="../../d5/d5a/class_cltrp_base.html#aff554bf452e995eeb7b8952432da11d9">CltrpBase::CDB_NetLoad</a></div><div class="ttdeci">unsigned long CDB_NetLoad()</div><div class="ttdef"><b>定义</b> <a href="../../df/d91/cltrpbase_8cpp_source.html#l00969">cltrpbase.cpp:969</a></div></div>
<div class="ttc" id="acltrpbase_8h_html_a1f03dd6eb3368d98417ec3825c2a3b93"><div class="ttname"><a href="../../d7/d8e/cltrpbase_8h.html#a1f03dd6eb3368d98417ec3825c2a3b93">ArrayField</a></div><div class="ttdeci">std::vector&lt; CMySQLField &gt; ArrayField</div><div class="ttdoc">数据库域数组定义</div><div class="ttdef"><b>定义</b> <a href="#l00152">cltrpbase.h:152</a></div></div>
<div class="ttc" id="acltrpbase_8h_html_acc31a95fa7da46d26e0cbd16dec2c999"><div class="ttname"><a href="../../d7/d8e/cltrpbase_8h.html#acc31a95fa7da46d26e0cbd16dec2c999">ArrayMySQLField</a></div><div class="ttdeci">ArrayField ArrayMySQLField</div><div class="ttdef"><b>定义</b> <a href="#l00158">cltrpbase.h:158</a></div></div>
<div class="ttc" id="acltrpbase_8h_html_acc78e514f4df3dd54beb5489d6152429"><div class="ttname"><a href="../../d7/d8e/cltrpbase_8h.html#acc78e514f4df3dd54beb5489d6152429">ArrayRows</a></div><div class="ttdeci">std::vector&lt; CMySQLTuple &gt; ArrayRows</div><div class="ttdoc">数据库数据行定义</div><div class="ttdef"><b>定义</b> <a href="#l00153">cltrpbase.h:153</a></div></div>
<div class="ttc" id="anamespacewheels_html_a17042f775c3493c1f9592ca7883dbd5e"><div class="ttname"><a href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">wheels::ArrayString</a></div><div class="ttdeci">ary_str ArrayString</div><div class="ttdef"><b>定义</b> <a href="../../d3/df7/ary__str_8hpp_source.html#l00010">ary_str.hpp:10</a></div></div>
<div class="ttc" id="atrp__crm__db__base_8h_html"><div class="ttname"><a href="../../d2/da3/trp__crm__db__base_8h.html">trp_crm_db_base.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
